package com.lvhx.springboot.partitioner;

import java.util.List;

public interface DataCenter<T> {
	public List<T> getData(String key);

	public void saveInMemory(String key, List<T> data);

	public void saveInDataStore(String key, List<T> data);

	public void saveInMemoryAndDataStore(String key, List<T> data);

	public void removeIfDataInMemory(String key);
}
